package com.yt.server.api;

import com.yt.server.api.action.IActionCall;
import com.yt.server.api.event.IEventHandler;

public interface IScopeHandler extends IEventHandler {
	
	boolean start(IScope scope);

	void stop(IScope scope);

	boolean addChildScope(IScope scope);

	void removeChildScope(IScope scope);

	boolean join(IScope scope);

	void leave(IScope scope);

	boolean serviceCall(IConnection conn, IActionCall call);
}
